home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / tlib30.zip / README < prev    next >
Text File  |  1992-09-22  |  2KB  |  34 lines

  1. Borland C++ "bad object module" workaround for TLIB.EXE
  2.  
  3. WHAT THIS ARCHIVE ADDRESSES
  4. ===========================
  5. Borland is currently looking at a problem which sometimes occurs when
  6. the Borland C++ 3.1 linker processes library files (.lib files) generated
  7. from the Borland C++ 3.1 tlib utility.  The problem is that in a few rare
  8. cases, the linker reports "bad object module" when processing the .lib file.
  9. The problem is resolved by using the Borland C++ 3.0 tlib utility contained
  10. in this archive.
  11.  
  12. WHO SHOULD USE THIS VERSION OF TLIB
  13. ===================================
  14. Few people will require the older version of tlib contained in this
  15. archive.  It is recommended that if you are not experiencing any problems
  16. with the version of tlib shipped with Borland C++ 3.1 that you continue
  17. to use that version.  If you are getting a "bad object module" error message
  18. from the linker on .lib files which the Borland C++ 3.1 tlib utility created,
  19. then try the tlib.exe in this archive.
  20.  
  21. OTHER CAUSES OF "BAD OBJECT MODULE"
  22. ===================================
  23. It is possible to receive the bad object module error message for other
  24. valid reasons.  Be sure that the objs you have placed into your library
  25. were not compiled by a version of the compiler which is later then the
  26. linker.  Older versions of the linker will not understand the debug
  27. information produced by newer versions of Borland C++.  For example,
  28. tlink 4.0 which ships with Borland C++ 2.0 will report "bad object module"
  29. for objs generated by Borland C++ 3.0 or 3.1.  Also, be aware that the linker
  30. looks in the current directory for a .lib file before searching the lib search
  31. path.  So the error can occur when you have a file with the same name as your
  32. .lib in the current directory, but that file is not a valid .lib file.
  33.  
  34.